home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
disk_tools
/
mrbackup
/
docs
/
wildstar.doc
< prev
next >
Wrap
Text File
|
1995-02-21
|
1KB
|
37 lines
WildStar - enable asterisk (*) filename wildcards
Author: Mark R. Rinfret
Usage: WildStar - reports current state
WildStar ON - enables asterisk wildcards
WildStar OFF - disables asterisk wildcards
This program controls the use of asterisk (*) as a valid wildcard
character for the AmigaDOS filename pattern matching routines. When
enabled, the asterisk is equivalent to the #? combination.
Copy this program to your C: directory or other directory containing
program files. It will typically be called from your S:user-startup
file.
To test its operation, do the following:
wildstar off
LIST pat=*
wildstar on
LIST pat=*
You should notice that nothing is listed with the first invocation of
the LIST command. The second LIST command should display whatever
files are in the current directory. Also worthy of mention is the
fact that the asterisk character is also (still) recognized as the
console device name by some programs, even after it is enabled as a
wildcard character. The LIST command is an example of this.
LIST *
will generate an error message, while
LIST #?
will not. That's why we used "pat=*" in the above examples.